function HandleSystem(gui, user, date, options, message) {
  this._gui = gui;
  this._user = user;
  this._date = date;
  this._options = options;
  this._message = message;
  
  this._createElements();
};

HandleSystem.prototype._createElements = function() {
  MClientUtils.countIt(new RequestUtils());
  
  //Preset
  //Object
  var system = (this._message[0] && this._message[0].data[0]) ? this._message[0].data[0] : pz_system.instance();
  
  //Display
  this._gui.address.value = system.address;
  this._gui.phone.value = system.phone;
  this._gui.fax.value = system.fax;
  this._gui.email.value = system.email;
  this._gui.gst.value = system.gst;

  //Event
  this._gui.address.onchange = function() { system.address = this.value; };
  this._gui.phone.onchange = function() { system.phone = this.value; };
  this._gui.fax.onchange = function() { system.fax = this.value; };
  this._gui.email.onchange = function() { system.email = this.value; };
  this._gui.gst.onchange = function() { system.gst = this.value; };
  //Submit
  this._gui.save.onclick = function() { new RequestUtils()._write(JSON.stringify([{ n: 'pz_system', a: [system], r: [] }]), function(result, params) { location.href = '?t=system'; }, { pos: DOMUtils.findPos(this) });
                                      };
};
